@font-face {
    font-family: 'icomoon';
    src:  url('../font/icomoon.eot?tm2q5y');
    src:  url('../font/icomoon.eot?tm2q5y#iefix') format('embedded-opentype'),
      url('../font/icomoon.ttf?tm2q5y') format('truetype'),
      url('../font/icomoon.woff?tm2q5y') format('woff'),
      url('../font/icomoon.svg?tm2q5y#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
  }

@font-face {
    font-family: "iconfont"; /* Project id 2841184 */
    src: url('../font/iconfont.woff2?t=1633338286065') format('woff2'),
            url('../font/iconfont.woff?t=1633338286065') format('woff'),
            url('../font/iconfont.ttf?t=1633338286065') format('truetype');
}
.iconfont {
    padding: 0;
    margin: 0;
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@mixin fontColor {
    color: #f22e00;
}
@mixin liBgc {
    background-color: #f4f4f4;
}
body{
    background-color: #fff;
}

.w{
    width: 1190px;
    margin: 0 auto;
}
.header{
    width: 100%;
    line-height: 36px;
    font-size: 12px;
    color: #6c6c6c;
    background-color: #f5f5f5;

    .headLeft{
        float: left;

        & >li{
            float: left;
            padding: 0 6px;
        }

        .district{
            font-family: 'icomoon';
            position: relative;

            &:hover{
                background-color: #fff;
            }

            &:hover .diSub{
                display: block;
                cursor: pointer;
            }

            .diSub{
                position: absolute;
                top: 36px;
                left: 0;
                width: 242px;
                height: 26.5px*10;
                padding: 8px 0;
                overflow-y: scroll;
                background-color: #fff;
                display: none;
                z-index: 9999999;

                li{
                    padding-left: 8px;
                    line-height: 29px;

                    &:hover{
                        @include liBgc();
                    }
                }
            }
        }

        .tips{
            position: relative;
            .login{
                @include fontColor();
                margin-right: 5px;
            }
    
            .regist{
                color: #6c6c6c;
            }
    
            .regist:hover{
                @include fontColor();
            }

            .exit{
                width: 100px;
                height: 30px;
                position: absolute;
                top: 29px;
                left: 0;
                background: #fff;
                display: none;

                &:hover{
                    cursor: pointer;
                }
            }
        }

        .mobile:hover{
            @include fontColor();
        }
    }

    .headRight{
        float: right;
        &>li{
            float: left;
            padding: 0 6px;
            position: relative;

            i{
                font-family: 'icomoon';
            }

            &:not([class]):hover{
                @include fontColor();
            }

            .subNav{
                width: max-content;
                padding: 8px 0;
                font-size: 12px;
                line-height: 29px;
                color: #6c6c6c;
                background-color: #fff;
                position: absolute;
                top: 36px;
                left: 0;
                display: none;
                z-index: 99999;

                li{
                    padding: 0 8px;
                }
            }

        }
        .myTaobao:hover{
            background-color: #fff;
            @include fontColor();

            .subNav{
                display: block;

                li{
                    &:hover{
                        background-color: #f4f4f4;
                        cursor: pointer;
                    }
                }
            }
        }
        .shopCar{
            .icon,.count{
                font-weight: 800;
                @include fontColor();
            }
            .subNav li{
                span{
                    float: left;
                    margin-left: 20px;
                }
                a{
                    float: right;
                    background-color: #ff4400;
                    color: #fff;
                    line-height: 29px;
                    padding: 0 8px;
                }
            }



            &:hover{
                background-color: #fff;
                @include fontColor();
    
                .subNav{
                    display: block;
                }
            }
        }

        .separated{
            color: #e2dddd;
        }
    }
}

.headerCon{
    height: 95px;

    .logo{
        float: left;
        
        .icon{
            font-size: 94px;
            color: #ff5f00;
        }
    }
    .shopCar{
        float: left;
        line-height: 95px;
        font-size: 30px;
        font-weight: 800;
        margin-left: 8px;
    }
    .searchBar{
        float: right;
        width: 515px;
        height: 35px;
        background-color: #ff5500;
        margin-top: 25px;
        position: relative;

        .baby{
            float: left;
            width: 74px;
            height: 29px;
            text-align: center;
            line-height: 29px;
            background-color: #f5f5f5;
            margin-top: 3px;
            margin-left: 1px;
            box-sizing: border-box;
            border-left: 1px solid #ff5500;
            border-right: 1px solid #ffffff;
        }
        .searchCon{
            float: left;
            height: 19px;
            padding: 5px 0;
            margin-top: 3px;
            width: 343px;
            outline: 0;
        }
        .searchBtn{
            float: left;
            width: 97px;
            height: 29px;
            margin-top: 3px;
            text-align: center;
            line-height: 29px;
            color: #fff;
        }
        .search{
            position: absolute;
            width: 12px;
            height: 12px;
            font-family: 'icomoon';
            top:10px;
            left: 76px;
        }
    }
}
.carSwitch{
    height: 33px;
    // background-color: #6ff;

    .left{
        float: left;
        li{
            float: left;
            width: 123px;
            padding-left: 25px;
            font-size: 16px;
            box-sizing: border-box;
            
            a{
                font-weight: 700;
            }

            span{
                margin-left: 3px;
            }
        }
        li+li{
            border-left: 1px solid #ccc;
        }
        .active{
            color: #ff4400;
        }
    }

    .right{
        float: right;

        span{
            font-size: 12px;
            margin-right: 10px;
        }

        .settlement{
            display: inline-block;
            width: 55px;
            height: 25px;
            line-height: 25px;
            text-align: center;
            background-color: #aaaaaa;
            color: #fff;
        }
        .total{
            color: #ff4400;
            font-weight: 800;
        }
    }
}

.underLine{
    height: 3px;
    background-color: #e6e6e6;
    position: relative;

    .po{
        height: 3px;
        width: 123px;
        background-color: #ff4400;
        position: absolute;
        left: 0;
        top: 0;
    }
}

.car{
    .carTable{
        height: 50px;
        line-height: 50px;
        font-size: 12px;

        .checkAllInp{
            float: left;
            height: 50px;
            width: 80px;
            text-align: center;

            .checkAll{
                vertical-align: middle;
                margin-right: 15px;
            }
        }
        .tdInner{
            float: left;
            height: 50px;
            width: 342px;
            padding-left: 91px;
            box-sizing: border-box;
        }
        .tdInfo{
            float: left;
            height: 50px;
            width: 212px;
            padding-left: 10px;
            padding-right: 40px;
            box-sizing: border-box;
        }
        .unitPrice{
            float: left;
            width: 120px;
            height: 50px;
            padding-left: 10px;
            box-sizing: border-box;
        }
        .number{
            float: left;
            width: 120px;
            height: 50px;
            padding-left: 10px;
            box-sizing: border-box;
        }
        .sum{
            float: left;
            width: 140px;
            height: 50px;
        }
        .ob{
            float: left;
            width: 149px;
            height: 50px;
            padding-left: 30px;
            box-sizing: border-box;
        }
    }
}

.carGoods{
    .stroe{
        height: 38px;
        padding-left: 15px;
        box-sizing: border-box;
        display: flex;
        font-size: 12px;
        // line-height: 38px;
        align-items: center;

        .storeIcon{
            width: 16px;
            height: 16px;
            background-image: url(../images/zhanggui.png);
            background-repeat: no-repeat;
            background-position: -213px -199px;
            margin-left: 10px;
            margin-right: 10px;
        }
        a{
            margin-left: 3px;
            &:hover{
                color: #ff4400;
                border-bottom: 1px solid #ff4400;
            }
        }
    }
    .goods{
        width: 1188px;
        height: 129px;
        border: 1px solid #ccc;
        background-color: #fcfcfc;
        padding-top: 20px;
        box-sizing: border-box;

        .checkOneInp{
            float: left;
            width: 50px;
            text-align: center;
        }
        .goodsImg{
            float: left;
            width: 80px;
            height: 80px;
            border: 1px solid #ccc;
            img{
                width: 100%;
                height: 100%;
            }
        }
        .goodsName{
            float: left;
            width: 226px;
            height: 36px;
            padding-right: 25px;
            font-size: 12px;
            overflow: hidden;
            margin-left: 10px;
            line-height: 18px;

            &:hover{
                color: #ff6600;

                a{
                    border-bottom: 1px solid #ff6600;
                }
            }
        }
        .goodsInfo{
            float: left;
            width: 212px;
            height: 84px;
            font-size: 12px;
            padding-right: 30px;
            color: #9c9c9c;
        }
        .price{
            float: left;
            width: 120px;
            height: 99px;
            font-size: 14px;
            font-weight: 700;
            span{
                font-weight: 700;
            }
        }
        .goodsNum{
            float: left;
            width: 120px;
            height: 99px;
            display: flex;

            .reduce{
                width: 17px;
                height: 23px;
                line-height: 23px;
                text-align: center;
                border: 1px solid #e5e5e5;
                background-color: #f0f0f0;

                &:hover{
                    cursor: pointer;
                }
            }
            .counts{
                width: 39px;
                height: 15px;
                padding: 4px 0;
                text-indent: 13px;
                border: 1px solid #aaaaaa;
                outline: 0;
            }
            .add{
                width: 17px;
                height: 23px;
                line-height: 23px;
                text-align: center;
                border: 1px solid #e5e5e5;
                background-color: #f0f0f0;
                &:hover{
                    cursor: pointer;
                }
            }
        }
        .subTotal{
            float: left;
            width: 140px;
            height: 99px;
            font-weight: 700;
            color: #ff4451;
            font-size: 14px;
            span{
                font-weight: 700;
            }
        }
        .deleteBar{
            float: left;
            width: 119px;
            height: 99px;
            padding-left: 30px;
            font-size: 12px;

            .delete{
                &:hover{
                    cursor: pointer;
                    color: #ff6600;
                    border-bottom: 1px solid #ff6600;
                }
            }
        }
    }
}

.settlementBar{
    height: 50px;
    background-color: #e5e5e5;
    margin-top: 15px;
    line-height: 50px;

    .checkAllInp{
        float: left;
        font-size: 12px;
        margin-left: 5px;
        
        .checkAll{
            vertical-align: middle;
            margin-right: 5px;
        }
    }
    .deleteAll{
        float: left;
        width: 24px;
        margin-left: 25px;
        font-size: 12px;

        &:hover span{
            cursor: pointer;
            color: #ff6600;
            border-bottom: 1px solid #ff6600;
        }
    }
    .settlement{
        float: right;
        width: 120px;
        height: 50px;
        text-align: center;
        font-size: 18px;
        color: #fff;
        background-color: #b0b0b0;
    }
    .total{
        float: right;
        font-size: 18px;
        font-weight: 700;
        color: #ff4400;
        margin-right: 10px;
    }
    p{
        float: right;
        font-size: 12px;
    }
    .goodsCount{
        float: right;
        font-size: 12px;
        margin-right: 20px;

        span{
            font-size: 16px;
            font-weight: 700;
            color: #ff4400;
        }
    }
}

.settlement{
    &:hover{
        cursor: pointer;
    }
}

.shadow{
    display:none;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;

    .payment{
        position: absolute;
        top: 50%;
        left: 50%;
        width: 300px;
        height: 350px;
        margin-top: -175px;
        margin-left: -150px;
        background-color: #fff;

        .close{
            position: absolute;
            top: -10px;
            right: -10px;
            width: 20px;
            height: 20px;
            text-align: center;
            line-height: 20px;
            border: 1px solid #ccc;
            border-radius: 50%;;
            background-color: #fff;

            &:hover{
                cursor: pointer;
            }
        }

        .title{
            width: 300px;
            height: 50px;
            line-height: 50px;
            display: flex;
            border-bottom: 1px solid #ccc;
            
            div{
                flex: 1;
                text-align: center;

                &:hover{
                    cursor: pointer;
                }
            }
            .active1{
                background-color: #fff;
                color: #ff6600;
            }
            div+div{
                border-left: 1px solid #ccc;
            }
        }
        .qrCode{
            width: 300px;
            height: 300px;

            img{
                width: 100%;
                height: 100%;
            }

            .zhifubao{
                display: none;
            }
        }
    }

    p{
        display: none;
        line-height: 30px;
        width: 300px;
        text-align: center;
        background-color: #fff;
        color: #ff6600;
        position: absolute;
        top: 0;
        left: 40%;
    }
}